const path=require('path')
// console.log(path.basename('./01.js'),777)
//const str=path.join('./a','./b','./c') //  路径拼接
const str=path.join('a','b','../../c','d') //  路径拼接  
// console.log(__dirname+str)  //  C:\Users\Administrator\Desktop\ajax_060\node\day01
const  str2=path.join(__dirname,'../a')  //  C:\Users\Administrator\Desktop\ajax_060\node\day01\a
console.log(str2)


